<template>
	<view class="vw-100 vh-100 flex flex-center">
		<y-login @close="close"></y-login>
	</view>
</template>

<script setup>
	import { $page ,$tool} from '@/utils/index';
	const close = () => {
		$tool.toast('登录成功')
		setTimeout(() => {

			$page.back()
		}, 500)
	}
</script>

<style>

</style>